home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
loginout
/
dmlogn.exe
/
DMLOGIN.DOC
next >
Wrap
Text File
|
1994-04-10
|
5KB
|
145 lines
DOSmenu Login Utility
=====================
Version 6.0
April 1994
(C)Copyright 1993-1994 by Skip Bremer
Note: DMlogin is normally sold as part of the DOSmenu network menu system
package. To evaluate the entire package, you need to download DOSMNU.EXE as
well.
DMlogin is a fantastic utility for helping to bring true order and security to
your network during the login and logout process. For ordering information,
please see the end of this document.
This program is NOT required by DOSmenu and DOSmenu is NOT required of
DMlogin. They are separate entities, but they work great together!
DMlogin acts a buffer between your user and the actual network login and
logout commands. Here is how you set it up. The batch files below contain
the basic minimum requirements. You may doctor them up as you need -- we
certainly have on our network.
First
=====
You run DMLOGIN.EXE by itself so that it can create its INI file. This file
defines the following:
o The DOS variable to be used by DMlogin to pass the login and logout
commands/batch files to DOS.
o The name of the command/batch file to be passed by DMlogin when logging
in to the network.
o The name of a secondary command/batch file to be passed by DMlogin when
logging in to the network when a user places a '*' in front of their
name. This is optional (if not used, leave a blank line in the INI file)
and can be used to provide an alternate login for support/power types,
etc.
o The name of the command/batch file to be passed by DMlogin when force
logging out of the network.
o The title of the user's login screen.
o The help number for your network support shop.
o Whether to use the fancy screen saver (yes) of the normal one (no). The
fancy one is a graphic of a computer terminal while the normal one is a
business-like statement.
o The background screen color (check DOSMENU.DOC for how to set this).
Second
======
Make your batch files. For these examples, the INI file answers look like
this:
_DMLOGIN - the DOS variable
_LOGIN - the batch file DMlogin calls to login
- the alternate login batch file is not specified
_LOGOUT - the batch file DMlogin calls to logout
LOGIN.BAT
---------
This is the main batch file your users will type (or get from their
AUTOEXEC.BAT) to log in. On NetWare, you should rename LOGIN.EXE to, say,
IN.EXE (as shown in the examples).
@echo off
dmlogin %1 ;%1 in case someone types 'login name'
call %_dmlogin% ;if DMlogin got good info from user, then run _login
;call is in case there is more to your batch file
_LOGIN.BAT
----------
This is the batch file called by DMlogin to effect a login
@echo off
in %1 %2 ;in is really the old network LOGIN.EXE program
if exist f:\public\*.* goto END ;did we get logged in?
dmlogin /error ;must not have gotten logged in, so show error screen
login %1 ;run main batch file again
:END
_LOGOUT.BAT
-----------
This is the batch file called by DMlogin to effect a logout
out ;out is really the old network LOGOUT.EXE program
login ;run main batch file again
As previously stated, you can add to these batch files as needed. We are just
showing you the basic bare necessities that DMlogin needs in order to work
properly.
Third
=====
Place the command that starts the process for your users in their
AUTOEXEC.BAT, like login for LOGIN.BAT (if this is the case, you probably will
have to rename the network login command to something else. We rename
LOGIN.EXE to IN.EXE and LOGOUT.EXE to OUT.EXE on our network.
Optionally, consider using DMKEY.EXE instead of PAUSE in your network user
batch files. It helps prevent batch file breakout.
That's all there is to it! You may need to read the DMUSERS.DOC for some
specifics on batch file placements on NetWare networks if you get strange
error messages at times during the logout process.
Important Note
==============
These programs and files should most probably be placed in your users' login
directory on the network (\LOGIN for NetWare). They work great there, but
probably won't anywhere else due to other directories "going away" on logout.
Shareware - Ordering
====================
DMlogin is normally sold as part of the DOSmenu package. If you do not have
DOSmenu, you can download it from Compuserve, the NOVUSERS/New Uploads forum.
The file name is DOSMNU.EXE.
To order DOSmenu/DMlogin directly, contact the author, Skip Bremer, by
calling: 512-328-2465
or
writing: Skip Bremer -DOSmenu
3401 Cactus Wren Way
Austin TX 78746
or
Compuserve: CIS 71614,2556.